package com.example.demoshiyan02;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author GooRay
 * 创建于 2020/4/13
 */
@SuppressWarnings("unused")
@ConfigurationProperties(prefix = "gooray.auto")
public class CustomProperties {

    /**
     * 自动配置类是否生效
     */
    private boolean enable;

    public boolean isEnable(){
        return enable;
    }

    public void setEnable(boolean enable){
        this.enable = enable;
    }
}
